<?php 
class LogModel extends Model{
	var $tableName = 'bbs_log';
	
	
	function put($uid,$class,$content){
		$this->uid     = $uid;
		$this->tagid   = end(explode(',',$class));
		$this->content = $content;
		$this->cTime   = time();
		return $this->add();
	}
}
?>